extended euclidean algorithm method

welcome to shbcf.ru